package com.redteam.xomtro.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.redteam.xomtro.R;

public class SecondMenuFragment extends Fragment implements View.OnClickListener{

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View r = inflater.inflate(R.layout.menu_right, container, false);
        assert r != null;
        r.findViewById(R.id.rlMenuProfile).setOnClickListener(this);
        return r;
    }

    @Override
    public void onClick(View view) {
//        switch (view.getId()){
//            case R.id.rlMenuProfile:
//                Intent it = new Intent(getActivity(), ProfileActivity.class);
//                it.putExtra("user_item", "Vũ Nguyễn");
//                startActivity(it);
//                break;
//        }
    }
}
